<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="com.td.framework.webmanager.login.UserInfo;"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%

	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setCharacterEncoding("UTF-8");	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>北京水软考勤软件系统</title>
<!--                       css请不要改变调用顺序                       -->
<link href="<%=path%>/themes/classic_blue/css/base.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/themes/classic_blue/css/sys_frames.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/themes/classic_blue/css/userinfo.css" rel="stylesheet" type="text/css" />
<!--                       Javascripts请不要改变调用顺序                       -->
<script type="text/javascript" SRC="<%=path%>/themes/classic_blue/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="<%=path%>/themes/classic_blue/js/baseframe.js"></script>
<script type="text/javascript">
   <%
        UserInfo userinfo = new UserInfo();
		if(session.getAttribute("userInfo")==null){%>
              window.parent.location.href ="<%=path%>/webmanager/login.jsp";
		<%}
		userinfo = (UserInfo)session.getAttribute("userInfo");
	%>
  /*点击退出按钮和关闭按钮*/
	function yhExit(flag)
	{
		if(flag!="eip"&&!window.confirm("您确认退出系统？")){
			return false;
		}
		var url = "<%=path%>/webmanager/exit.jsp?flag="+flag;
		parent.location=url;
	}
</script>
</head>

<body scroll="no"onload="resizeFrame('subframe');resizeFrame('mainframe');resizeFrame('col_extra');" >
<!--start header-->
<div id="header">
    <div id="logo"><img src="<%=path%>/themes/classic_blue/images/pic_header_logo_bmfm.png"/></div>
</div>
<!--end header-->
<!--start topnav-->
<div id="topnav">
    <div class="navbar">
        <ul id="navbar-tab">
        <s:iterator value="mainFunc" status="stat">
        	<s:if test="#stat.first">
            	<li class="topnavtabs01_on"  onclick="javascript:switchNav(this)"><a href="<%=path%>/<s:property value='cxrk'/>&ymbh=<s:property value='ymbh'/>" target="subframe" class="current"><s:property value="ymmc"/></a></li>
            </s:if>
            <s:elseif test="#stat.last">
            	<li class="topnavtabs03_off"  onclick="javascript:switchNav(this)"><a href="<%=path%>/<s:property value='cxrk'/>&ymbh=<s:property value='ymbh'/>" target="subframe"><s:property value="ymmc"/></a></li>
            </s:elseif>	
            <s:else>
            	<li class="topnavtabs02_off"  onclick="javascript:switchNav(this)"><a href="<%=path%>/<s:property value='cxrk'/>&ymbh=<s:property value='ymbh'/>" target="subframe"><s:property value="ymmc"/></a></li>
            </s:else>
        </s:iterator>
        </ul>
    </div>
</div>
<!--end topnav-->
<!--start userbox-->
<div id="userbox">
    <div class="userbox_right">
    	<div id="crumb"> <span>我的位置：接入资源管理  > 编码赋码转换 > 功能名称</span>
        </div>
    </div>
	<div id="user_info" class="user_info">
    	<a href="#" class="" onclick="show('userinfo_box');return false;"><img src="<%=path%>/themes/classic_blue/images/icons/user_01.png"/></a><span >刘太平，您好！<br /><a href="javascript:window.close();" class="exit">[退出登录]</a></span>
    </div>
       <div id="userinfo_box" style="display:none;filter:alpha(opacity=80);opacity:1;">
            <!-- 圆角Box -->
        	<div class="boxRdiv">
                <b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
                <div class="xboxcontent">
                <a href="###" class="close" onclick="closeed('userinfo_box');return false;"><img src="<%=path%>/themes/classic_blue/images/icons/user_close.png" width="20" height="20" align="right" /></a>
                <div class="userCont">
                	<div class="userHead"><img src="<%=path%>/themes/classic_blue/images/icons/user_01.png" width="36" height="36" /></div>
                    <dl>
                    	<dt>刘太平，你好！</dt>
                        <dd>登录时间：2010-11-05<br />13:25:17</dd>
                    </dl>
                </div>
                </div>
                <b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
            </div>
            <!-- End 圆角Box -->
        </div>
    
</div>
<!--end userbox-->
<!---mainbody--->
<div id="container">
 	<div id="col_main">
     <div id="main_content" class="main_content"><iframe src="<%=path%>/webmanager/main.jsp" scrolling="auto" name="mainframe" width="100%" marginwidth="0" marginheight="0"  scrolling="yes" style="overflow:visible"  frameborder="0" id="mainframe" onload="setmainFrame();"></iframe></div>
    </div>
	<div id="col_sub" class="col_sub"><iframe src="<%=path%>/qxgl/mainTree.do" noresize name="subframe" width="195" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" id="subframe" ></iframe></div>
    <div id="col_extra" class="col_extra" >
          <div class="extra_main">
                <span class="extra_hide" id="hidesub"  style="display:block;" onClick="hidemenu();"  title="隐藏菜单栏"><img src="<%=path%>/themes/classic_blue/images/extra_hide.png"/></span>
  		        <span class="extra_show" id="showsub" style="display:none;" onClick="showmenu();"  title="显示菜单栏" ><img src="<%=path%>/themes/classic_blue/images/extra_show.png"/></span>
          </div>
    </div>  
</div>
<!---end mainbody--->
</body>
</html>